package com.qjs.shiro.dao;

import java.util.List;

import com.qjs.shiro.model.Role;

public interface RoleDao {
    int deleteById(Long id);

    int insertAll(Role record);

    int insert(Role record);

    Role getById(Long id);

    int updateBy(Role record);

    int updateByIdAll(Role record);

	List<String> listRoleSnByUser(int uid);
}